#region

using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

#endregion

namespace CuongHanh.Models
{
    [Table("tbl_StaticPage")]
    public class StaticPage : BaseClass
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public override int Id { get; set; }

        public string NameVi { get; set; }

        public string NameEn { get; set; }

        /// <summary>
        ///     contains path "~"
        /// </summary>
        public string PhysicalFile { get; set; }

        [NotMapped]
        public override bool Inactive { get; set; }

        [NotMapped]
        public override DateTime LastModified { get; set; }
    }

    public enum StaticPages
    {
        GioiThieuVeCongTy = 1,

        ChinhSachVaQuiDinhChung = 2,

        TinKhuyenMai = 3,

        TinTuc = 4,

        PhuongTienTruyenThong = 5,

        LienHe = 6,

        DangKyThanhVien = 11,

        VanChuyenGiaoHang = 12,

        PhuongThucBaoHanh = 13,

        PhuongPhapBaoQuan = 14,

        DoiTraHang = 15,

        CacCauHoiThuongGap = 16,

        HuongDanThietKe = 21,

        HuongDanDoNi = 22,

        HuongDanDatHang = 23,

        HuongDanThanhToan = 24,

        TuVan = 25,

        Khac = 30,
    }
}
